package math;

public class SpecialLatexFunction implements MathNode
{
    String symbol;
    Statement lowerBound;
    MathNode upperBound;
    MathNode expression;

    SpecialLatexFunction(String s,Statement l,MathNode u,MathNode e)
    {
        symbol = s;
        lowerBound = l;
        upperBound = u;
        expression = e;
    }

    @Override
    public String getName()
    {
        return symbol;
    }

    @Override
    public String getExpressionString()
    {
        return getClass().getName() + "<symbol=" + symbol + ", lowerBound=" + lowerBound + ", upperBound=" + upperBound + ", expression= " + expression;
    }
}
